package com.dwxt.cdms.dao.info;

import com.dwxt.cdms.entity.info.Information;
import com.dwxt.cdms.entity.info.ServiceDto;
import com.dwxt.cdms.entity.info.ServiceDto;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface ServiceMapper {
    int countByExample(ServiceDto serviceDto);

    int deleteByExample(ServiceDto serviceDto);

    int deleteByPrimaryKey(String id);

    int insert(ServiceDto record);

    int insertSelective(ServiceDto record);

    List<ServiceDto> selectByExampleWithBLOBs(ServiceDto serviceDto);

    List<Information> selectByExample(ServiceDto serviceDto);

    ServiceDto selectByPrimaryKey(String id);

    int updateByExampleSelective(ServiceDto serviceDto);

    int updateByExampleWithBLOBs(ServiceDto serviceDto);

    int updateByExample(ServiceDto example);

    int updateByPrimaryKeySelective(ServiceDto record);

    int updateByPrimaryKeyWithBLOBs(ServiceDto record);

    int updateByPrimaryKey(Information record);

    int updateByPriority(Integer priority);

    List<ServiceDto> getServiceList();

    List<ServiceDto> getServiceListByType(String typeId);
}